Timing circuit

ABSTRACT

Disclosed is a timing circuit for generating a clock signal which indicates a timing for discriminating a data signal. The timing circuit includes a branching circuit for branching a data signal in two directions, a duty monitoring circuit for monitoring the duty of a first data signal output from the branching circuit, a duty varying circuit for varying the duty of a second data signal output from the branching circuit, a control circuit for controlling the duty varying circuit on the basis of the duty information output from the duty monitoring circuit so that the duty of the data signal to be output has a predetermined value and a clock signal generator for generating the clock signal for discriminating a data signal which is synchronous with the data signal output from the duty varying circuit.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application is a divisional of application Ser. No. 09/041,778, filed Mar. 13, 1998, now awaiting grant of patent.

BACKGROUND OF THE INVENTION

[0002] The present invention relates to a timing circuit of an optical receiver in a high-speed optical communication system and, more particularly, to a timing circuit for generating a clock signal which indicates a timing for discriminating a received data signal.

[0003] The optical receiver in a high-speed optical communication system converts a data waveform which is distorted during transmission or a data waveform carrying noise into a clean waveform, in other words, executes what is called data regeneration. In such data regeneration, the optical receiver generates a clock signal by using a received data signal, and a discriminating portion reproduces data on the basis of the timing with which the clock signal is generated.

[0004]FIG. 19 shows an example of an optical receiver in an optical communication system. The reference numeral 1 represents an optoelectric conversion circuit for converting an optical signal into an electric signal, 2 an equalizing amplifier for equalizing and amplifying a data signal of, for example 10 Gbps which is output from the optoelectric conversion 1, 3 a timing circuit for extracting a clock signal, which has a frequency same as that as the bit rate, from the data signal received, and 4 a discriminating circuit for discriminating the data signal by using the clock signal which is output from the timing circuit 3. The optical signal transmitted through an optical fiber is converted by the optoelectric conversion circuit 1 into an electric signal, and equalized and amplified by the equalizing amplifier 2. The timing circuit 3 extracts a clock signal from the equalized waveform and triggers the discriminating circuit 4. The discriminating circuit 4 judges whether the equalized waveform is “0” or “1” at the point of time of sampling, and restores the original code pulse. Since there is a change in the delay time in the transmission line or the like, the discriminating circuit 4 is triggered by a clock signal which is synchronous with the data signal received.

[0005] In optical communication, an NRZ code, an RZ code, etc. is used as a transmission line code. In an optical communication apparatus of not less than 600 Mbps, an NRZ code in which the bands required for the electric circuit and the optical device are not strict is generally used. When an NRZ code is used, since a data signal contains no clock component, it is necessary to generate a clock signal by processing the data signal. A conventional timing circuit of an optical receiver for generating such a clock signal has either (1) a structure (FIG. 20) using a timing filter or (2) a structure (FIG. 21) using a PLL.

[0006]FIG. 20 shows the structure of a timing circuit using a timing filter. The timing circuit is composed of a nonlinear extractor 110 for detecting the rising edge and the falling edge of an input data signal, a bandpass filter 111 having a center frequency identical with the bit rate of the data signal, and a limiting amplifier 112 as a narrow band amplifier. The nonlinear extractor 110 includes a branching circuit 110 a for branching a data signal in two directions, a delay circuit 110 b for delaying a first branched data signal by a predetermined time (½ of the time equivalent to 1 bit), and or EXOR (Exclusive OR) circuit 110 c for executing an exclusive OR operation of the second branched data signal and the output signal of the delay circuit 110 b and generating an edge signal having a pulse at the rising edge and the falling edge of the data signal. FIG. 22 shows an operating waveform. The EXOR circuit 110 c detects the rising edge and the falling edge of the data signal and generates a pulse, the band pass filter 111 extracts the clock component having the same frequency as that of the bit rate of the data signal, and limiting amplifier 112 amplifies the clock component to a predetermined amplitude. Herein, the structure of the nonlinear extractor 110 having a combination of a differentiating circuit and a full-wave rectifier has also been proposed.

[0007]FIG. 21 shows the structure of a timing circuit using a PLL. The timing circuit is provided with a phase detector 121 for comparing the phases of a data signal and a clock signal and outputting the phase difference, a level converter 122 for converting the output level of the phase detector 121, a loop filter 123 for smoothing the voltage signal corresponding to the phase difference which is output from the level converter 122, and a voltage controlled oscillator (VCO) 124 for generating a clock signal having the frequency corresponding to the output of the loop filter 123. As examples of the structure of the phase detector 121, those shown in FIGS. 23 and 24 have been proposed.

[0008] The phase detector 121 shown in FIG. 23 compares the phase of a data signal DATA with the phase of a clock signal both at the rising edge and the falling edge of the data signal DATA, synthesizes the phase differences of the data signal at the rising edge and the falling edge, and executes PLL control. The phase detector 121 is provided with two D flip flops (D-FFs) 201, 202 which function as phase detectors, an inverting gate 203 for inverting the logic of the data signal DATA and an adder 204 for adding the outputs of the D-FFs 201, 202.

[0009] The D-FF stores the level (“1” or “0”) of the clock signal CLOCK input to a data input terminal (terminal D) at the rising edge of each data signal DATA, *DATA input to a clock input terminal (terminal C), and holds the level until the next data signal rises. Therefore, when the phase of the clock signal CLOCK lags behind that of the data signal DATA, as shown in (1) of FIG. 25, the D-FF outputs a low-level (E_(L)) signal D-FF out. On the other hand, when the phase of the clock signal CLOCK leads that of the data signal DATA, as shown in (2) of FIG. 25, the D-FF outputs a high-level (E_(H)) signal D-FF out.

[0010] In this manner, the D-FF 201 outputs a signal corresponding to the phase of the clock signal at the rising edge of the data signal, while the D-FF 202 outputs a signal corresponding to the phase of the clock signal at the falling edge of the data signal. The adder 204 synthesizes these signals and outputs a phase detection signal PDS. The timing circuit having a PLL structure controls the phase of the clock signal so that the phase detection signal PDS has a preset level. For example, when the duty of the data signal varies to less than 100%, the rising edge of the data signal lags behind that of the clock signal and the falling edge of the data signal leads that of the clock signal. The phase detector 121 outputs the phase detection signal PDS which corresponds to the difference between the amount of lag and the amount of lead and the timing circuit outputs the clock signal CLOCK so that the amount of lag may be equal to the amount of lead.

[0011] The phase detector shown in FIG. 24 detects the rising edge and the falling edge of a data signal DATA and compares the phases of a rising edge signal EGU and a falling edge signal EGD with the phase of a clock signal CLOCK. The phase detector is provided with an edge detector 251 and a D-FF 252. The D-FF 252 outputs the level of the clock signal CLOCK as a phase detection signal PDS when the rising edge signal EGU and the falling edge signal EGD are produced. Since the phase detector is provided with the edge detector 251, the same operation as that of the phase detector shown in FIG. 23 is carried out with only one D-FF.

[0012]FIG. 26 is an explanatory view of the relationship between the phase difference θ between the clock signal CLOCK and the data signal DATA and the output (phase detection signal PDS) of the phase detector. In this drawing, the duty of the data signal DATA is 100%, and the phase of the data signal DATA leads the phase of the clock signal CLOCK. The word “duty” will be defined strictly later, but briefly speaking, when the bit rate is f (=1/T), the duty is the ratio of the period T₁ of a data signal “1” and T. When the duty is 100% (T=T₁), as shown in FIG. 26, the phase relationship between the rising edge of the data signal and the clock signal is the same with the phase relationship between the falling edge of the data signal and the clock signal. Consequently, the waveform of the output (phase detection signal PDS) of the phase detector is a rectangular waveform which alternates with a phase difference period of T/2.

[0013] It is possible to fix the phase relationship between the clock signal CLOCK and the data signal DATA by controlling the phase of the clock signal so that the clock signal rises at the position at which the data signal DATA is switched over from a LOW level to a HIGH level. However, in the phase detection signal PDS, the switching characteristic between the LOW level and the HIGH level is steep (the level is binary), continuous phase control of the clock signal is impossible, so that the control becomes unstable. That is, if the clock signal is produced by using the binary phase detection signal PDS and the phases of the data signal and the clock signal are made coincident with each other by feeding the clock signal back to the phase detector, the control becomes unstable at a discontinuous point of the phase detection signal PDS. As a countermeasure, a microsignal having a low frequency is superimposed on the clock input terminal (terminal C) of the D-FF for the purpose of modulation. In this manner, it is possible to provide the phase of the data signal input to the clock input terminal C with perturbation, which enables the phase detection signal PDS to gently incline with the phase difference θ as indicated with the broken line in FIG. 26. Stable control is thus enabled.

[0014] In a conventional high-speed communication system, an NRZ code is used, and the duty is approximately 100% before and after transmission. However, with an increase in the transmission speed, the pulse width per bit becomes narrow and the transmission is influenced by a nonlinear effect and the wavelength dispersion of the optical fiber, which leads to a large distortion of the transmission waveform. FIG. 27A shows the waveform of light signal on the transmitter side when the duty is 100% (T=T₁), FIG. 27B shows the waveform of transmission light (on the left side) and the equalized waveform (on the right side) when the duty is less than 100% by the distortion, and FIG. 27C shows the waveform of transmission light (on the left side) and the equalized waveform when the duty is more than 100% by the distortion.

[0015] As is clear from these drawings, the duty of the received waveform greatly changes due to waveform distortion, and the change is 50% to 120% depending upon the transmission conditions. The duty, by reference to FIG. 27A, is defined as the ratio of the duration (T₁) of one pulse at the center of the crest value and one time slot interval (T).

[0016] Although it is possible to relieve the distortion of the transmission waveform by inserting a dispersion compensating fiber or the like into a transmission line, since a high cost is required, it is desirable to enable the longest-possible-distance transmission without using such an accessory part. Thus, an optical receiver is required to receive a largely distorted waveform without the need for compensating the wavelength dispersion and accurately reproduce the original data.

[0017] As shown in the literature (“Comparison between codes in IM-DD Optical Amplifier Repeater System” by Saito et al, pp 4 to 77, The Institute of Electronics, Information and Communication Engineers, Spring 1992), the transmission characteristics are improved by using an RZ code under some transmission conditions. A timing circuit which can use both an RZ code and an NRZ code is therefore desirable. When an RZ code is used, the duty of the waveform input to an optical receiver is 50%.

[0018] A change in the duty exerts a deleterious influence on the operation of a timing circuit. In the timing circuit using a timing filter shown in FIG. 20, if the duty reduces, the phase of the data rising edge detection pulse RP which reaches to a HIGH level at the rising edge of the data signal lags while the phase of the data falling edge detection pulse TP which reaches to a HIGH level at the falling edge of the data signal leads, as shown in FIG. 22. These pulses are synthesized, and a clock component is extracted from the synthesized pulse. Although the phase of the extracted clock component does not change, since there is a cancelled component, the clock component extracted is reduced. When the duty becomes 50%, the phases of the rising edge detection pulse and the falling edge detection pulse become opposite, so that the clock component of the bit rate becomes zero and the nonlinear extractor 110 does not operate normally.

[0019] Each of FIGS. 28A, 28B and 28C shows the waveform of the signal output from the EXOR circuit 110 c in a case where duty is 100%, 75% and 50% respectively. By reference to FIG. 28C, it is apparent that a clock component whose frequency is identical with that of the bit rate of the data disappears from the EXOR output signal. Like the decrease of the duty, the clock component reduces in accordance with the increase of the duty. FIG. 29 shows the relationship between the duty of the data signal and an extracted clock component.

[0020] In the timing circuit using a PLL shown in FIG. 21, if the phase detector 121 has the structure shown in FIG. 24, the timing circuit does not operate normally when the duty becomes 50% in the same way as the timing circuit using a timing filter. If the phase detector 121 has the structure shown in FIG. 23, when the duty becomes small (or large), the waveform of the phase detection signal PDS is such as that shown in (6) of FIG. 30, and an intermediate level MLV between the HIGH level and the LOW level generates. The intermediate level MLV has a length represented by:

[0021] (100−duty(%))×360°/100.

[0022] In FIG. 30,

[0023] (1) shows the clock signal CLOCK input to the terminals D of the D-FFs 201, 202;

[0024] (2) shows the data signal DATA input to the terminal C of the D-FF 201, wherein the broken line shows the data signal DATA when the duty is 100%, and the solid line the data signal DATA when the duty is less than 100%;

[0025] (3) shows the characteristic which shows the relationship between the output (rising edge detection output) of the D-FF 201 and the phase difference 6;

[0026] (4) shows the inverting data signal *DATA (the inverting signal of the data signal) input to the terminal C of the D-FF 202;

[0027] (5) shows the characteristic which shows the relationship between the output (falling edge detection output) of the D-FF 202 and the phase difference θ; and

[0028] (6) shows the phase detection output (phase detection signal PDS) obtained by synthesizing the output of the D-FFs 201, 202.

[0029] In the waveforms shown in FIG. 30, no low-frequency signal is superimposed on the clock input terminal C of the D-FF, so that the phase of the data signal is not provided with perturbation. Actually, however, a low-frequency signal is applied to the clock input terminal C of the D-FF, so that each D-FF output has a gentle inclination (see FIG. 26). In order to make the relationship between the data signal DATA and the clock signal CLOCK constant irrespective of the duty, it is desirable to fix the phase at the point A in (6) of FIG. 30. In order to detect the point A, it is necessary to increase the amount of perturbation which is applied to the phase of the data signal input to the clock input terminal C by the amount corresponding to the difference between the current duty and the duty of 100%. In other words, in order to search for the desired fixed point, the low-frequency component superimposed to the clock reference terminal C is increased. However, there are limits to the amount of phase shift realized by varying the voltage applied to the clock reference terminal C, and it is difficult to secure a large amount of phase shift.

SUMMARY OF THE INVENTION

[0030] Accordingly, it is an object of the present invention to eliminate the above-described problems in the related art and to provide a timing circuit which is capable of stably operating even if the input waveform of a data signal has a large distortion and the duty of the data signal greatly changes.

[0031] It is another object of the present invention to provide a timing circuit which is capable of maintaining the duty of a data signal at 100% even if the data signal has a distortion.

[0032] It is still another object of the present invention to provide a timing circuit having a simple structure which is capable of accurately operating even if the duty of a data signal changes.

[0033] To achieve these ends, in a first aspect of the present invention, there is provided a timing circuit for generating a clock signal which indicates a timing for discriminating a data signal. The timing circuit comprises a branching means for branching a data signal in two directions, a duty monitoring means for monitoring the duty of a first data signal output from the branching means, and a duty varying means for varying the duty of a second data signal output from the branching means. The timing circuit further comprises a control circuit for controlling the duty varying means on the basis of the duty information output from the duty monitoring means so that the duty of the data signal to be output has a predetermined value, and a clock signal generating means for generating a clock signal which is synchronous with the data signal output from the duty varying means and indicating timing for discriminating the data signal.

[0034] In a second aspect of the present invention, there is provided a timing circuit for generating a clock signal which indicates a timing for discriminating a data signal, wherein the timing circuit comprises a duty varying means for varying the duty of a data signal, a duty monitoring means for monitoring the duty of a data signal output from the duty varying means, a control circuit for controlling the duty varying means so that the duty of the data signal output from the duty monitoring means has a predetermined value. The timing circuit further comprises a clock signal generating means for generating a clock signal which is synchronous with the data signal output from the duty monitoring means and indicates a timing for discriminating the data signal.

[0035] In a third aspect of the present invention, there is provided a timing circuit for generating a clock signal which indicates a timing for discriminating a data signal, the timing circuit comprises a duty varying means for varying the duty of a data signal, a clock component detector for detecting the magnitude of a clock component extract from the data signal which is output from the duty varying means, and a control circuit for controlling the duty varying means so that the extracted clock component is at its maximum. The timing circuit further comprises a clock signal generating means for generating a clock signal which is synchronous with the data signal output from the duty varying means and indicates a timing for discriminating the data signal.

[0036] Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0037]FIG. 1 is an explanatory view of a first principle of the present invention;

[0038]FIG. 2 is an explanatory view of a second principle of the present invention;

[0039]FIG. 3 is an explanatory view of a third principle of the present invention;

[0040]FIG. 4 shows a first embodiment of the present invention;

[0041]FIG. 5 is an explanatory view of the relationship between the duty of a waveform and the average value;

[0042]FIGS. 6A and 6B are explanatory views of the relationship between the duty of a data signal and the reference level;

[0043]FIGS. 7A and 7B are explanatory views of the dependence of an output waveform on the reference level;

[0044]FIG. 8 shows a first modification of the first embodiment of the present invention;

[0045]FIG. 9 shows the structure of an EXOR circuit;

[0046]FIG. 10 shows a second modification of the first embodiment of the present invention;

[0047]FIG. 11 shows a second embodiment of the present invention;

[0048]FIG. 12 shows a third embodiment of the present invention;

[0049]FIGS. 13A, 13B and 13C are explanatory views of an operation of the third embodiment of the present invention;

[0050]FIGS. 14A and 14B are explanatory views of another operation of the third embodiment of the present invention;

[0051]FIG. 15 shows the structure of a fourth embodiment of a timing circuit according to the present invention;

[0052]FIG. 16 is an explanatory view of the operation of the fourth embodiment of the present invention;

[0053]FIG. 17 is an explanatory view of the output of a synchronous detector;

[0054]FIG. 18 shows a modification of the fourth embodiment of the present invention;

[0055]FIG. 19 is a block diagram of an optical receiver;

[0056]FIG. 20 shows the structure of a conventional timing circuit using a timing filter;

[0057]FIG. 21 shows the structure of a conventional timing circuit using a PLL;

[0058]FIG. 22 shows a waveform for explaining the operation of the timing circuit using a timing filter;

[0059]FIG. 23 shows a phase detector;

[0060]FIG. 24 shows another phase detector;

[0061]FIG. 25 is a time chart of phase detection by a D-FF;

[0062]FIG. 26 is an explanatory view of the relationship between a phase difference between a clock signal and a data signal and the output of a phase detector;

[0063]FIGS. 27A, 27B and 27C show the waveforms of transmission light;

[0064]FIGS. 28A, 28B and 28C are explanatory views of the relationship between the duty of a data signal and the output of an EXOR;

[0065]FIG. 29 shows the relationship between the duty of a data signal and an extracted clock component; and

[0066]FIG. 30 is an explanatory view of the output of a phase detector when the duty of a data signal changes.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0067] (A) The Outline of the Invention

[0068] (a) First Timing Circuit According to the Present Invention

[0069]FIG. 1 is an explanatory view of the principle of a first timing circuit according to the present invention. The timing circuit maintains the duty of a data signal at 100% by feed-forward control. In FIG. 1, the reference numeral 11 represents a branching means for branching a data signal DATA in two directions, 12 a duty monitoring means for monitoring the duty of a first data signal output from the branching means 11, 13 a duty varying means for varying the duty of a second data signal output from the branching means 11, 14 a control circuit for controlling the duty varying means 13 on the basis of the duty information output from the duty monitoring means 12 so that the duty of the data signal to be output has a predetermined value (e.g., 100%); and 15 a clock signal generator for generating a clock signal for discriminating a data signal which is synchronous with the data signal output from the duty varying means 13.

[0070] More specifically, the duty monitoring means 12 is composed of an averaging circuit for outputting the average value (average level) of the data signal as duty information. The duty varying means 13 is composed of an amplifier provided with a signal input terminal and a reference terminal to which is supplied a reference signal for specifying the amplification center level of an input signal. The duty varying means 13 inputs a data signal as the input signal to the signal input terminal and inputs a reference signal which is output from the control circuit 14 to the reference terminal, and varies the duty of the data signal output from the amplifier. The clock signal generator 15 is composed of the conventional timing circuit using a timing filter shown in FIG. 20, or the conventional timing circuit using a PLL shown in FIG. 21.

[0071] According to this structure, it is possible to maintain the duty of the data signal to be output at 100% by feed-forward control by a simple structure, and therefore stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes.

[0072] In this case, if an amplifier having a signal input terminal and a reference terminal built-in one (e.g., EXOR circuit) of the digital circuits in the clock signal generator 15 is provided with the function of the duty varying means, the duty varying means 13 is dispensed with, thereby simplifying the circuit structure.

[0073] (b) Second Timing Circuit According to the Present Invention

[0074]FIG. 2 is an explanatory view of the principle of a second timing circuit according to the present invention. The timing circuit maintains the duty of a data signal at 100% by feedback control. In FIG. 2, the reference numeral 21 represents a duty varying means for varying the duty of a data signal, 22 a duty monitoring means for monitoring the duty of the data signal output from the duty varying means 21, 23 a control circuit for controlling the duty varying means 21 so that the duty of the data signal output from the duty monitoring means 22 has a predetermined value (e.g., 100%); and 24 a clock signal generator for generating a clock signal for discriminating a data signal which is synchronous with the data signal output from the duty monitoring means 22.

[0075] More specifically, the duty monitoring means 22 is composed of an averaging circuit for outputting the average value of the data signal as duty information. The duty varying means 21 is composed of an amplifier provided with a signal input terminal and a reference terminal to which is supplied a reference signal for specifying the amplification center level of an input signal. The duty varying means 21 inputs a data signal to the signal input terminal as the input signal and inputs a reference signal which is output from the control circuit 23 to the reference terminal, and varies the duty of the data signal output from the amplifier. The clock signal generator 24 is composed of the conventional timing circuit using a timing filter shown in FIG. 20, or the conventional timing circuit using a PLL shown in FIG. 21.

[0076] According to this structure, it is possible to maintain the duty of the data signal to be output at 100% by feedback control by a simple structure, and therefore stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes.

[0077] The duty varying means 21 can be constituted by a differential amplifier for outputting a non-inverting signal and an inverting signal which correspond to the difference between the data signal and the reference signal respectively input to the signal input terminal and the reference terminal, and the control circuit 23 varies the duty by controlling the level of the reference signal of the difference amplifier so that the average values of the non-inverting signal and the inverting signal coincide with each other. In this manner, if the duty varying means 21 is constituted by a differential amplifier, it is not necessary to obtain the reference value in advance and store it, so that the structure is simplified.

[0078] (c) Third Timing Circuit According to the Present Invention

[0079]FIG. 3 is an explanatory view of the principle of a third timing circuit according to the present invention. The timing circuit maintains the duty of a data signal at 100% by executing feedback control so that the clock component is at its maximum. In FIG. 3, the reference numeral 31 represents a duty varying means for varying the duty of a data signal DATA, 32 a clock component detector for detecting the magnitude of the clock component nonlinearly extracted from the data signal which is output from the duty varying means 31; 33 a control circuit for controlling the duty varying means 31 so that the extracted clock component is at its maximum; and 34 a clock signal generator for generating a clock signal for discriminating a data signal which is synchronous with the data signal output from the duty varying means 31.

[0080] More specifically, the duty varying means 31 is composed of an amplifier provided with a signal input terminal and a reference terminal to which is supplied a reference signal for specifying the amplification center level of an input signal. The duty varying means 31 inputs the data signal DATA to the signal input terminal as the input signal and inputs a reference signal which is output from the control circuit 33 to the reference terminal, and varies the duty of the data signal output from the amplifier. The control circuit 33 is provided with (1) an oscillator for generating a low-frequency signal, (2) a reference signal generator for generating a reference signal so that the clock component is at its maximum, and (3) a means for superimposing the low-frequency signal on the reference signal and inputting it to the reference terminal of the duty varying means (amplifier) 31. The duty varying means (amplifier) 31 outputs a data signal with the duty provided with perturbation at a low frequency, and the clock component detector 32 detects the magnitude of the clock component from the signal output from the duty varying means 31. The clock signal generator 34 is composed of the conventional timing circuit using a timing filter shown in FIG. 20.

[0081] According to this structure, it is possible to maintain the duty of the data signal to be ouput at 100% by feedback control by a simple structure, and therefore stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes.

[0082] If an amplifier having a signal input terminal and a reference terminal built-in one (e.g., EXOR circuit) of the digital circuits in the clock signal generator 34 is provide with the function of the duty varying means, the duty varying means 31 is dispensed with, thereby simplifying the circuit structure.

[0083] (B) First Embodiment

[0084] (a) Structure

[0085]FIG. 4 shows the structure of a first embodiment of a timing circuit according to the present invention. The timing circuit has a structure for maintaining the duty of a data signal at 100% by feed-forward control. In FIG. 4, the reference number 11 represents a branching circuit for branching a data signal DATA in two directions, 12 an averaging circuit as a duty monitoring means for monitoring the duty of a first data signal DATA1 output from the branching circuit 11. The averaging circuit 12 is composed of, for example, an integrator circuit which obtains the average value of the first data signal DATA1 output from the branching circuit 11 and outputs the average value as duty information. In the data signal DATA, the number of “1”s and the number of “0”s are made equal by scrambling processing. Therefore, the average value output from the averaging circuit 12 is proportional to the duty of the data signal, as shown in FIG. 5. In other words, the average value contains the duty information of the data signal.

[0086] The reference numeral 13 represents a duty varying circuit for varying the duty of a second data signal DATA2 output from the branching circuit 11. The duty varying circuit 13 is composed of an amplifier 13 a provided with a signal input terminal IN and a reference terminal ref to which is supplied a reference signal for specifying the amplification center level. It is possible to vary the duty of the data signal output from the amplifier 13 a by inputting the data signal to the signal input terminal IN and a reference signal to the reference terminal ref and controlling the level of the reference signal. For example, when the duty of the data signal DATA is 100%, as shown in FIG. 6A, the reference level is set at Vr0, which is the center level of the data signal. When the duty is more than 100%, as shown in FIG. 6B, the reference level is set at Vru, which is larger than the center level Vr0 of the data signal. When the duty is less than 100% (not shown), the reference level is set at a value smaller than Vr0, which is the center level of the data signal.

[0087]FIG. 7 is an explanatory view of the dependence of the waveform output from the amplifier 13 a on the reference level. FIG. 7A shows the output waveform when the duty of the data signal input to the amplifier 13 a is more than 100% and the reference level is set at Vr0, which is the center level of the data signal. The data signal input to the amplifier 13 a is amplified with the reference level Vr0 as the center, and the waveform is cut at the saturation level on the positive and negative sides. The output waveform has a duty of more than 100%, as shown on the right side. FIG. 7B shows the output waveform when the duty of the data signal input to the amplifier 13 a is more than 100% and the reference level is set at Vru, which is larger than the center level of the data signal. The data signal input to the amplifier 13 a is amplified with the reference level Vru as the center, and the waveform is cut at the saturation level on the positive and negative sides. The output waveform has a duty of 100%, as shown on the right side. In this manner, even if the duty of the data signal DATA is not 100%, it is possible to maintain the duty of the output signal at 100% by controlling the reference level of the amplifier 13 a.

[0088] Returning to FIG. 4, the reference numeral 14 represents a control circuit, which determines the reference level of the amplifier 13 a so that the duty of the data signal output from the amplifier 13 a is 100%, and inputs a reference signal to the reference terminal ref. Since the duty of the input data signal is proportional to the average value Vm of the data signal, the reference levels are measured in advance in correspondence with various average values (duties) so that the duty of the data signal output from the amplifier 13 a may be 100%, and the correspondence is set in a table TBL. The control circuit 14 is thus capable of determining the reference level so that the duty of the output waveform may be 100% in correspondence with the average value Vm by reference to the table TBL and inputting the reference level to the reference terminal of the amplifier 13 a.

[0089] The reference numeral 15 represents a clock signal generator for generating a clock signal CLK for discriminating a data signal which is synchronous with the data signal output from the amplifier 13 a. The clock signal generator 15 is composed of the conventional timing circuit using a timing filter shown in FIG. 20, or the conventional timing circuit using a PLL shown in FIG. 21.

[0090] (b) Operation

[0091] In the first embodiment, the branching circuit 11 branches the input data signal DATA in two directions and inputs them to the averaging circuit 12 and the amplifier 13 a of the duty varying circuit 13. The averaging circuit 12 calculates the average value Vm of the data signal and inputs it to the control circuit 14. The control circuit 14 obtains the reference level corresponding to the input average value Vm by reference to the table TBL, generates the reference signal having the reference level and inputs it to the reference terminal ref of the amplifier 13 a. The amplifier 13 a amplifies the input signal with the reference level as the center, and inputs the data signal having the waveform of duty 100% to the clock signal generator 15. The clock signal generator 15 generates a clock signal CLK for discriminating a data signal which is synchronous with the data signal, and inputs the clock signal to the discriminating circuit (not shown) of an optical receiver such as that shown in FIG. 19.

[0092] As described above, according to the first embodiment, it is possible to maintain the duty of a data signal at 100% by a simple structure and inputting it to the clock signal generator 15. Consequently, it is possible to stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes, and a discriminating circuit is capable of accurately discriminating the input data signal and reproducing it.

[0093] (c) First Modification

[0094] In the first embodiment, the amplifier 13 a is specially provided as the duty varying means 13. However, among the digital circuits of the clock signal generator 15, there is one provided with a signal input terminal and a reference terminal such as an EXOR circuit. The amplifier built in the EXOR circuit can be substituted for the amplifier 13 a of the duty varying means 13 in the first embodiment.

[0095]FIG. 8 shows the structure of a first modification of the first embodiment of a timing circuit according to the present invention. The same reference numerals are provided for the elements which are the same as those in the first embodiment shown in FIG. 4. The reference numeral 11 represents a branching circuit, 12 an averaging circuit, 14 a control circuit and 15 a clock signal generator.

[0096] The clock signal generator 15 has the same structure as the timing circuit shown in FIG. 20. The clock signal generator 15 is composed of a branching circuit 15 a for branching an input data signal in two directions, a delay circuit 15 b for delaying the first branched data signal by a predetermined time, an EXOR circuit 15 c for executing an exclusive OR operation of the second branched data signal and the output signal of the delay circuit 15 b and generating an edge signal having a pulse at the rising edge and the falling edge of the data signal, a bandpass filter 15 d for extracting a clock component having the same frequency as the bit rate of the data signal from the output of the EXOR circuit 15 c and outputting the extracted clock component, and a limiting amplifier 15 e for amplifying a clock component to a predetermined amplitude.

[0097] The EXOR circuit 15 c is composed of a digital IC, and is provided with two amplifiers 15 c-1, 15 c-2, and an EXOR gate 15 c-3, as shown in FIG. 9. Each of the amplifiers 15 c-1, 15 c-2 has a signal input terminal IN1 (IN2) and a reference terminal ref1 (ref2), and amplifies the input signal with the reference level as the center. In other words, each of the amplifiers 15 c-1, 15 c-2 is capable of varying the duty of an output signal by varying the reference level.

[0098] Therefore, the reference levels are measured in advance in correspondence with various average values (duties) of a data signal so that the duties of the waveforms output from the amplifiers 15 c-1, 15 c-2 may be 100%, and the correspondence is set in a table TBL. The control circuit 14 is thus capable of determining the respective reference levels so that the duties of the waveforms output from the amplifiers 15 c-1, 15 c-2 may be 100% by reference to the table TBL and inputting the reference levels to the reference terminals ref1, ref2 of the amplifiers 15 c-1 and 15 c-2, respectively.

[0099] According to the modification, it is possible to substitute the amplifier built in the digital circuit (e.g., EXOR circuit) which constitutes the clock signal generator 15 for the duty varying means. It is therefore possible to dispense with the amplifier 13 a as the duty varying means in the first embodiment, thereby simplifying the circuit structure.

[0100] (c) Second Modification

[0101]FIG. 10 shows a second modification of the first embodiment based on the same principle as the first modification. In the second modification, the clock signal generator is constituted by a PLL. The same reference numerals are provided for the elements which are the same as those shown in FIG. 4. The reference numeral represents a branching circuit, 12 an averaging circuit, 14 a control circuit and 15 a clock signal generator.

[0102] The clock signal generator 15 has the same structure as the timing circuit shown in FIG. 21, and a phase detector of the timing circuit has the structure shown in FIG. 24. That is, the clock signal generator 15 is provided with a phase detector 16 a for comparing the phases of a data signal and a clock signal, a level converter 16 b for converting the output level of the phase detector 16 a, a loop filter 16 c for smoothing the voltage signal corresponding to the phase difference which is output from the level converter 16 b, and a voltage controlled oscillator (VCO) 16 d for generating a clock signal having the frequency corresponding to the output of the loop filter 16 c.

[0103] The phase detector 16 a detects the rising edge and the falling edge of the data signal DATA input from the branching circuit 11 and compares the phase of the data signal with the phase of a clock signal both at the rising edge EGU and the falling edge EGD of the data signal. The phase detector 16 a is constituted by an edge detector 17 and a D flip flop (D-FF) 18. The D-FF 18 outputs the level (low level/high level) of the clock signal CLK generated at the rising edge EGU and the falling edge EGD as a phase detection signal, and the clock signal generator 15 having a PLL structure controls the phase detection signal PDS to a preset level.

[0104] The edge detector 17 is provided with a branching circuit 17 a for branching an input data signal in two directions, a delay circuit 17 b for delaying the first branched data signal by a predetermined time, and an EXOR circuit 17 c for executing an exclusive OR operation of the second branched data signal and the output signal of the delay circuit 17 b and generating an edge signal having a pulse at the rising edge and the falling edge of the data signal. The EXOR circuit 17 c has the structure shown in FIG. 9. Accordingly, it is possible to vary the duty of a signal output from the amplifier built in the EXOR circuit 17 c by varying the reference level of the EXOR circuit 17 c in the same way as in the first modification.

[0105] According to the second modification, it is possible to constitute the duty varying means by the amplifier built in a digital circuit (e.g., EXOR circuit) constituting the clock signal generator, in the same way as in the first modification. It is therefore possible to dispense with the amplifier 13 a as the duty varying means in the first embodiment, thereby simplifying the circuit structure.

[0106] (C) Second Embodiment

[0107] (a) Structure

[0108]FIG. 11 shows the structure of a second embodiment of a timing circuit according to the present invention. The timing circuit maintains the duty of a data signal at 100% by executing feedback control. In FIG. 11, the reference numeral 21 represents a duty varying circuit for varying the duty of a data signal DATA. The duty varying circuit 21 is composed of an amplifier 21 a provided with a signal input terminal IN and a reference terminal ref to which is supplied a reference signal for specifying the amplification center level. It is possible to vary the duty of the data signal output from the amplifier 21 a by inputting the data signal to the signal input terminal IN and controlling the level of the reference signal input to the reference terminal ref. For example, when the duty of the data signal DATA is 100%, as shown in FIG. 6A, the reference level is set at Vr0, which is the center level of the data signal. When the duty is more than 100%, as shown in FIG. 6B, the reference level is set at Vru, which is larger than the center level Vr0 of the data signal. When the duty is less than 100% (not shown), the reference level is set at a value smaller than Vr0, which is the center level of the data signal.

[0109] The reference numeral 22 represents a duty monitoring portion for monitoring the duty of the data signal output from the amplifier 21 a. The duty monitoring portion 22 is composed of a branching circuit 22 a for branching a data signal output from the amplifier 21 a in two directions and an averaging circuit 22 b for obtaining and outputting the average value Vm of one of the branched data signals output from the branching circuit 22 a. The averaging circuit 22 b is composed of, for example, an integrator which obtains the average value Vm of the branched data signals output from the branching circuit 22 a and outputs the average value Vm as duty information. In the data signal DATA, the number of “1”s and the number of “0”s are made equal by scrambling processing. Therefore, the average value output from the averaging circuit 22 b is proportional to the duty of the data signal, as shown in FIG. 5. In other words, the average value contains the duty information of the data signal.

[0110] The reference numeral 23 denotes a control circuit which determines the reference level of the amplifier 21 a so that the duty of the data signal output from the amplifier 21 a is 100%, and inputs a control signal having this reference level to the reference terminal ref. The average value V₁₀₀ which corresponds to the data signal of duty 100% is measured in advance. In this manner, it is possible to determine whether the reference level is set at a large value or a small value by comparing the average value Vm with the average value V₁₀₀.

[0111] The reference numeral 24 represents a clock signal generator for generating a clock signal CLK for discriminating a data signal which is synchronous with the data signal output from the duty monitoring portion 22. The clock signal generator 24 is composed of the conventional timing circuit shown in FIG. 20, or the conventional timing circuit shown in FIG. 21.

[0112] (b) Operation

[0113] In the second embodiment, the amplifier 21 a in the duty varying circuit 21 amplifiers an input signal with a predetermined reference level as the center, and outputs the amplified signal. The branching circuit 22 a branches the input data signal DATA in two directions and inputs one branched data signal to the clock signal generator 24 and the other to the averaging circuit 22 b. The averaging circuit 22 b calculates the average value Vm of the data signal and inputs it to the control circuit 23. The control circuit 23 determines the reference level on the basis of the difference between the average values Vm and V₁₀₀, generates a control signal having the reference level and inputs it to the reference terminal ref of the amplifier 21 a. The amplifier 21 a amplifies the input signal with the new reference level as a center so as to bring the duty of an output signal close to 100%.

[0114] This feedback control is repeated thereafter until the amplifier 21 a generates a data signal having a waveform of a duty 100% and inputs the data signal to the clock signal generator 24 via the branching circuit 22 a. The clock signal generator 24 generates a clock signal CLK for discriminating a data signal which is synchronous with the data signal, and inputs the clock signal to the discriminating circuit (not shown) of an optical receiver such as that shown in FIG. 19.

[0115] As described above, according to the second embodiment, it is possible to maintain the duty of a data signal at 100% by feedback control by a simple structure and inputting it to the clock signal generator 24. Consequently, it is possible to stably generate a clock signal for discriminating a data signal even if the input waveform has a large distortion and the duty greatly changes, and a discriminating circuit is capable of accurately discriminating the input data signal and reproducing it.

[0116] (D) Third Embodiment

[0117] (a) Structure

[0118]FIG. 12 shows the structure of a third embodiment of a timing circuit according to the present invention. The timing circuit maintains the duty of a data signal at 100% by executing feedback control in the same way as in the second embodiment. In FIG. 12, the reference numeral 21 represents a duty varying circuit for varying the duty of a data signal DATA. The duty varying circuit 21 is composed of a differential amplifier 21 b provided with a signal input terminal IN, a reference terminal ref to which is supplied a reference signal for specifying the amplification center level and differential output terminals Q, QB. It is possible to vary the duties of the output signal Q and the output signal QB of the differential amplifier 21 b by inputting a data signal DATA to the signal input terminal IN and a reference signal to the reference terminal ref and controlling the level of the reference signal. In other words, even if the duty of the data signal DATA is not 100%, it is possible to maintain the duty of the output signal output from the differential output terminals Q, QB at 100% by controlling the reference level.

[0119] For example, when the duty of the input data signal DATA is more than 100%, as shown in FIG. 13A, if the reference level is set at Vr0, which is the center level of the data signal, it is impossible to maintain the duties of the outputs Q and QB at 100%, as shown in FIG. 13B. That is, the duty of the output Q becomes more than 100%, while the duty of the output QB becomes less than 100%. In contrast, if the reference level is set at Vru, which is larger than the center level Vr0 of the data signal, it is possible to maintain the duties of the outputs Q and QB at 100%, as shown in FIG. 13C.

[0120] The reference numeral 22 represents a duty monitoring portion for monitoring the duty of a data signal on the basis of the outputs Q and QB output of the differential amplifier 21 b. The duty monitoring portion 22 is composed of a branching circuit 22 a for branching the output signal Q output from the differential amplifier 21 b in two directions, an averaging circuit 22 b for obtaining and outputting the average value of one branched output signal Q, a branching circuit 22 c for branching the output QB of the differential amplifier 21 b in two directions, an averaging circuit 22 d for obtaining and outputting the average value of one branched output signal QB. Each of the averaging circuits 22 b, 22 d is composed of, for example, an integrator which obtains the average value Vm of the branched data signal Q (QB) and outputs the average value as duty information. In the data signal DATA, the number of “1”s and the number of “0”s are made equal by scrambling processing. Therefore, the average values output from the average value circuits 22 b, 22 d are proportional to the duty of the data signal. When the duty of the data signal is 100%, the average values output from the averaging circuits 22 b, 22 d are equal. In other words, if these average values are made equal by feedback control, the duty of the output Q of the differential amplifier 21 b is maintained at 100%.

[0121] The reference numeral 23 denotes a control circuit which determines the reference level of the amplifier 21 b on the basis of the difference between the average values of the output signals Q and QB so that the difference in the average value is 0, that is, the duty of the output signal Q (data signal) output from the differential amplifier 21 b is 100%, and inputs a control signal having this reference level to the reference terminal ref. The control circuit 23 is composed of an amplifier having a non-inverting input terminal and an inverting input terminal.

[0122] The reference numeral 24 represents a clock signal generator for generating a clock signal CLK for discriminating a data signal which is synchronous with the output signal Q (data signal) output from the differential amplifier 21 b as the duty varying circuit via the branching circuit 22 a. The clock signal generator 24 is composed of the conventional timing circuit shown in FIG. 20, or the conventional timing circuit shown in FIG. 21.

[0123] (b) Operation

[0124] In the third embodiment, the differential amplifier 21 b in the duty varying circuit 21 amplifies an input signal with a predetermined reference level as the center, and outputs the amplified signal. The branching circuits 22 a, 22 c branch the output signal Q (data signal) and the output signal QB, respectively, in two directions, and the averaging circuits 22 b, 22 d calculate the average values Vm₁, Vm₂, respectively, of the data signal and inputs these values to the non-inverting input terminal and the inverting input terminal, respectively, of the amplifier 23 a which constitutes the control circuit 23. The control circuit 23 determines the reference level on the basis of the difference between the average values Vm₁ and Vm₂, generates a control signal having the reference level and inputs it to the reference terminal ref of the differential amplifier 21 b. The differential amplifier 21 b amplifies the input signal with the new reference level as a center so as to bring the duties of the output signals Q and QB close to 100%.

[0125] This feedback control is repeated thereafter until the differential amplifier 21 b generates the output signal Q (data signal) having a waveform of a duty 100% and inputs the data signal to the clock signal generator 24 via the branching circuit 22 a. The clock signal generator 24 generates a clock signal CLK for discriminating a data signal which is synchronous with the data signal input from the differential amplifier 21 b, and inputs the clock signal to the discriminating circuit (not shown) of an optical receiver.

[0126] As described above, according to the third embodiment, it is possible to maintain the duty of a data signal at 100% by feedback control by a simple structure and inputting it to the clock signal generator 24. Consequently, it is possible to stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes, and a discriminating circuit is capable of accurately discriminating the input data signal and reproducing it.

[0127] In addition, in the third embodiment, since feedback control is carried out so that the levels of the output signals Q and QB are equal, it is not necessary to examine the relationship between the average value and the reference level, or the duty of a data signal and the reference level in advance.

[0128] (E) Fourth Embodiment

[0129] (a) Structure

[0130] As the duty of a data signal is reduced or increased from 100%, the clock component contained in the signal nonlinearly extracted from the data signal is reduced (see FIG. 29). Therefore, if the clock component is detected and feedback control is executed so that the clock component is at its maximum, it is possible to maintain the duty at 100%.

[0131]FIG. 15 shows the structure of a fourth embodiment of a timing circuit according to the present invention. The fourth embodiment is based on the above-described principle. In FIG. 15, the reference numeral 31 represents a duty varying circuit for varying the duty of a data signal DATA, 32 a clock component detector for detecting the magnitude of the clock component contained in the data signal, 33 a control circuit for executing feedback control so that the clock component is at its maximum, and 34 a clock signal generator for generating a clock signal CLK for discriminating a data signal which is synchronous with the data signal.

[0132] The duty varying circuit 21 is composed of an amplifier 31 a provided with a signal input terminal IN and a reference terminal ref to which is supplied a reference signal for specifying the amplification center level. It is possible to vary the duty of the data signal output from the amplifier 31 a by inputting the data signal to the signal input terminal IN and a reference signal to the reference terminal ref and controlling the level of the reference signal. For example, when the duty of the data signal DATA is 100%, as shown in FIG. 6A, the reference level is set at Vr0, which is the center level of the data signal. When the duty is more than 100%, as shown in FIG. 6B, the reference level is set at Vru, which is larger than the center level Vr0 of the data signal. When the duty is less than 100% (not shown), the reference level is set at a value smaller than Vr0, which is the center level of the data signal.

[0133] The clock signal generator 34 for generating a clock signal CLK for discriminating a data signal has the same structure as the timing circuit shown in FIG. 20. The clock signal generator 34 is composed of a branching circuit 34 a for branching an input data signal in two directions, a delay circuit 34 b for delaying one branched data signal by a predetermined time, an EXOR circuit 34 c for executing an exclusive OR operation of the other branched data signal and the output signal of the delay circuit 34 b and generating an edge signal having a pulse at the rising edge and the falling edge of the data signal, a bandpass filter 34 d for extracting a clock component having the same frequency as the bit rate of the data signal from the output of the EXOR circuit 34 c and outputting the extracted clock component, and a limiting amplifier 34 e for amplifying a clock component to a predetermined amplitude.

[0134] The clock component detector 32 detects the magnitude of the clock component contained in the data signal, and it is provided with a level detector 32 b which is connected to the output terminal of the bandpass filter 34 d and a synchronous detector 32 c for synchronously detecting and outputting a low-frequency f₀ component which is contained in the signal output from the level detector 32 b.

[0135] The control circuit 33 determines the reference level of the amplifier 31 a of the duty varying circuit 31 by feedback control so that the clock component is at its maximum, and inputs a control signal having this reference level to the reference terminal ref. The control circuit 33 is provided with an oscillator 33 a for generating a microsignal having a low-frequency f₀, a reference signal generator 33 b for generating a reference signal Vr so that the clock component is at its maximum, and an adder 33 c for inputting the reference signal Vr with the microsignal superimposed thereon to the duty varying circuit 31.

[0136] (b) Operation

[0137] As shown in FIG. 16, as the duty of a data signal is reduced or increased from 100%, the clock component contained in the data signal and having the same frequency as the bit rate is reduced. If control signals A′, B′ and C′ having a frequency f₀ are input to the reference terminal of the amplifier 31 a so that the duty is provided with perturbation at the low frequency f₀, when the duties of the data signal are, for example, 70%, 100%, and 130%, respectively, the clock components contained in the signals output from the amplifier 31 a are represented by A, B and C. That is, (1) when the duty is 70%, the clock component varies at a frequency of f₀, (2) when the duty is 130%, the clock component varies at a frequency of f₀ with the opposite phase to that of the clock component contained in the data signal when the duty is 70%, and (3) when the duty is 100%, the clock component varies at a frequency of 2f₀.

[0138] Consequently, the output of the synchronous detector 32 c which is obtained by multiplying the signal output from the level detector 32 b by the low-frequency signal having a frequency of f₀ varies in correspondence with the duty, as shown in FIG. 17. In other words, the output of the synchronous detector 32 c is zero when the duty is 100%, and the sign is inverted on this border. Accordingly, if the output of the synchronous detector 32 c is so controlled as to become zero, it is possible to have the clock component at its maximum, namely, the duty of 100%.

[0139] A microsignal having a low frequency f₀ is input to the reference terminal of the amplifier 31 a which constitutes the duty varying circuit 31 and the amplifier 31 a outputs a data signal which is provided with perturbation at a low frequency. The clock signal generator 34 extracts a clock signal CLK from the data signal output from the amplifier 31 a and outputs the extracted clock signal CLK. The clock component detector 32 detects the signal output from the bandpass filter 34 d which constitutes the clock signal generator 34 in synchronism with a low-frequency signal having a frequency of f₀. The reference signal generator 33 b of the control circuit 33 generates a reference signal Vr by amplifying the signal output from the synchronous detector 32 c, and the adder 33 c superimposes the low-frequency signal on the reference signal Vr and inputs them to the reference terminal ref of the amplifier 31 a. Feedback control is then executed so that the duty of the signal output from the amplifier 31 a becomes 100%, namely, the output of the synchronous detector 32 c becomes zero. The same control is repeated thereafter until the duty of the data signal, which is the output of the amplifier 31 a, becomes 100%. As a result, the clock signal generator 34 generates a clock signal CLK for discriminating a data signal which is synchronous with the data signal input from the amplifier 31 a, and inputs the clock signal to the discriminating circuit (not shown) of an optical receiver such as that shown in FIG. 19.

[0140] As described above, according to the fourth embodiment, it is possible to maintain the duty of the data signal at 100% by feedback control, and it is possible to stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes.

[0141] (c) Modification

[0142] In the fourth embodiment, the amplifier 31 a is specially provided as the duty varying means. Among the digital circuits constituting the clock signal generator 34, there is a digital circuit provided with a signal input terminal-and a reference terminal, for example, the EXOR circuit 34 c. It is possible to substitute the amplifier built in the EXOR circuit 34 c for the amplifier 31 a as the duty varying means in the fourth embodiment.

[0143]FIG. 18 shows the structure of a modification of the fourth embodiment of a timing circuit according to the present invention. The same reference numerals are provided for the elements which are the same as those in the fourth embodiment shown in FIG. 15. This modification is different from the fourth embodiment in (1) that the amplifier 31 a as the duty varying means is eliminated, and (2) that the signal output from the control circuit 33 is input to the reference terminal of the EXOR circuit 34 c.

[0144] The EXOR circuit 34 c is composed of a digital IC and it is provided with two amplifiers 15 c-1, 15 c-2, and an EXOR gate 15 c-3, as shown in FIG. 9. The amplifiers 15 c-1, 15 c-2 have signal input terminals IN1, IN2 and reference terminals ref1, ref2, respectively, and amplify input signals with the reference levels as the centers. Each of the amplifiers 15 c-1, 15 c-2 is capable of varying the duty of the output signal by varying the reference level, and is also capable of providing the duty of the output signal with perturbation by inputting a low-frequency signal to the reference terminal in the same way as in the amplifier 31 a (fourth embodiment) shown in FIG. 15.

[0145] The duty of the output signal is varied by varying the reference level of the EXOR circuit by superimposing a signal having a low frequency f₀ on the reference signal Vr. Together with a change in the duty, the extracted clock component also varies. The output of the synchronous detector 32 c for detecting the extracted clock component in synchronism with the low-frequency signal output from the oscillator 33 a becomes zero when the clock component is at its maximum, and thereafter the sign is inverted. Accordingly, if the reference level is so controlled that the output of the synchronous detector 32 c becomes zero; it is possible to have the clock component at its maximum, namely, the duty of 100%.

[0146] According to this modification, it is possible to constitute the duty varying means by the amplifier of a digital circuit (e.g., EXOR circuit) which constitutes the clock signal generator 34, so that it is possible to dispense with the amplifier 31 a as the duty varying means in the fourth embodiment, thereby simplifying the circuit structure.

[0147] As explained above, according to the present invention, it is possible to maintain the duty of a data signal at 100% by feed-forward control by a simple structure, and therefore stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes. In addition, since it is possible to substitute an amplifier built in a digital circuit (e.g., EXOR circuit) in the clock signal generator for the duty varying means, the circuit structure is simplified.

[0148] According to the present invention, it is possible to maintain the duty of a data signal at 100% by executing feedback control so that the average value of the data signal is a value corresponding to the duty 100%. It is therefore possible to stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes.

[0149] According to the present invention, since the reference level of the differential amplifier to which a data signal is input is so controlled that the average values of the non-inverting signal and the inverting signal coincide with each other and the duty becomes 100%, it is not necessary to obtain and store the reference value in advance unlike feed-forward control, thereby simplifying control.

[0150] According to the present invention, since it is possible to maintain the duty at 100% by executing feedback control so that the clock component is at its maximum, it is possible to stably generate a clock signal for discriminating the data signal even if the input waveform has a large distortion and the duty greatly changes. In addition, since it is possible to substitute an amplifier built in a digital circuit (e.g., EXOR circuit) in the clock signal generator for the duty varying means, the circuit structure is simplified.

[0151] As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims. 

What is claimed is:
 1. A timing circuit for generating a clock signal which indicates a timing for discriminating a data signal, said timing circuit comprising: a duty varying means for varying the duty of a data signal; a duty monitoring means for monitoring said duty of said data signal output from said duty varying means; a control circuit for controlling said duty varying means so that the duty of said data signal to be output from said duty monitoring means has a predetermined value; and a clock signal generator for generating a clock signal which is synchronous with said data signal output from said duty monitoring means and indicates a timing for discriminating said data signal.
 2. A timing circuit according to claim 1, wherein said duty monitoring means includes an averaging circuit for outputting the average value of said data signal as duty information.
 3. A timing circuit according to claim 1, wherein said duty varying means includes an amplifier provided with a signal input terminal and a reference terminal to which is input a reference signal for specifying the center level of the amplification of an input signal, and varies said duty of said data signal output from said amplifier by inputting said data signal as said input signal to said signal input terminal and inputting a signal output from said control circuit as said reference signal to said reference terminal.
 4. A timing circuit according to claim 1, wherein said duty varying means includes a differential amplifier provided with a signal input terminal and a reference terminal for outputting a non-inverting signal and an inverting signal which correspond to the difference between data signal and a reference signal respectively input to said signal input terminal and said reference terminal; said duty monitoring means includes averaging circuits for outputting the average values of said non-inverting signal and said inverting signal, respectively; and said control circuit controls the level of said reference signal of said differential amplifier and varies said center level of the amplification of said input signal so that outputs of said averaging circuits coincide with each other.
 5. A timing circuit according to claim 1, wherein said clock signal generator includes a branching circuit for branching said data signal output from said duty monitoring means in two directions, a delay circuit for delaying the first branched data signal, an EXOR circuit for executing an exclusive OR operation of the second branched data signal and the output signal of said delay circuit, a bandpass filter which has a center frequency identical with the bit rate of said data signal, to which the output of said EXOR circuit is input, and which generates a frequency signal corresponding to the bit rate of said data signal, and a limiting amplifier for amplifying the output of said bandpass filter to a predetermined amplitude.
 6. A timing circuit according to claim 1, wherein said clock signal generator includes a phase detector for comparing the phase of said data signal output from said duty monitoring means with the phase of said clock signal and outputting the phase difference, a loop filter for smoothing a voltage signal corresponding to said phase difference, and a voltage controlled oscillator for generating a clock signal having a frequency corresponding to the output level of said loop filter. 